package com.ea.eadp.nexus.test.workflow.pc.login;

import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;

import com.ea.eadp.nexus.test.workflow.WorkflowElementArgument;

public class LoginGoToCreateWorkflowElement extends LoginWorkflowElementBase {
    
    public LoginGoToCreateWorkflowElement(
        WebDriver driver, WorkflowElementArgument args
    ) {
        super(driver, args);
    }
    
    @Override
    public void moveNext() {
        WebElement createBtn = driver.findElement(
            By.xpath("//div[@class='sign-up-pc']/p/a")
        );
        createBtn.click();
    }
    
}
